package com.yhp.service.impl;

import com.yhp.bean.Grade;
import com.yhp.dao.GradeDao;
import com.yhp.dao.impl.GradeDaoImpl;
import com.yhp.service.GradeService;

import java.util.List;

public class GradeServiceImpl implements GradeService {
    GradeDao dao=new GradeDaoImpl();
    @Override
    public List<Grade> getGrades() {
        return dao.getGrades();
    }
}
